package com.example.analysis.exception;

import lombok.Getter;

@Getter
public class BusinessException extends Exception{
    private final Integer code;

    public BusinessException(String msg) {
        super(msg);
        this.code = 20000;
    }
    public BusinessException(Integer code, String message) {
        super(message);
        this.code = code;
    }

}
